//
//  ImageCell.m
//  RuiBeiKang
//
//  Created by 江伟 on 2018/11/29.
//  Copyright © 2018年 JW. All rights reserved.
//

#import "ImageCell.h"

@implementation ImageCell

- (void)setModel:(ImageModel *)model {
    _model = model;
    [self.imgView sd_setImageWithURL:[NSURL URLWithString:kImgAllUrl(_model.pic)] placeholderImage:DefalutImage];
}

- (void)setupSimulatData {
    self.imgView.image = DefalutImage;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
